StupidBeauty
Read times:499Posted at:Mon Dec 17 00:53:30 2012
- no title specified

转载 [AS3] (已自己解决)关于自适应窗口大小在IE下左上角的stage坐标是负数的问题

actionscript3项目要自适应窗口大小的话,注意要将舞台的对齐参数设置成“TL”(左上角对齐),不然妳会发现 当窗口变大时妳本已画到舞台左边缘的东西还是留在舞台中间的某个位置。

http://bbs.blueidea.com/thread-2966878-1-1.html

亮点

要侦听 Event.RESIZE 需要设置 :

stage.align = "TL";
stage.scaleMode="noScale";

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4